package com.jun.mapper;

import com.jun.pojo.Department;
import com.jun.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EmployeeMapper {
    List<Employee> queryEmpList();

    Employee queryEmpById(Integer id);

    Integer addEmp(Employee Emp);

    Integer updateEmp(Employee Emp);

    Integer deleteEmp(Integer id);
}
